	<?php
	$type_id = pg('type_id');
	$table_name = M('classify_type')->where(array('type_id' => $type_id))->getField('table_name');
	?>
    
    
      
      
            <script id="tpl-time" type="text/template"><div id="advert-period-box" style="position:relative;">
        <div id="advert-period-header" class="advert-period-header" style="padding-bottom:10px;">
            <a id="advert-period-btn-all" class="c-btn7" href="javascript:void(0)">
                全部时间
            </a>&nbsp;&nbsp;
            <a id="advert-period-btn-workday" class="c-btn7" href="javascript:void(0)">
                工作日
            </a>&nbsp;&nbsp;
            <a id="advert-period-btn-weekend" class="c-btn7" href="javascript:void(0)">
                周末
            </a>&nbsp;&nbsp;
            <div class="f-fr">
                <span class="advert-period-icon-on">
                    投放时间段
                </span>
                <span class="advert-period-icon-del">
                    暂停时间段
                </span>
            </div>
        </div>
        <table id="advert-period-body" class="advert-period-body" border="0" cellpadding="2"
            cellspacing="2">
            <tr>
                <th class="advert-period-body-first">
                </th>
                <#for(var i=0;i<hour.length;i++){#>
                    <th>
                        &nbsp;
                    </th>
                    <#}#>
            </tr>
            <#for(var i=0;i<week.length;i++){#>
                <tr>
                    <td class="advert-period-body-first">
                        <label>
                            <input class="vmiddle" name="advert-period-week" type="checkbox" value="<#=week[i].value#>"
                            checked="checked" />
                            &nbsp;&nbsp;
                            <#=week[i].text#>
                        </label>
                    </td>
                    <#for(var m=0;m<hour.length;m++){#>
                        <td id="advert-period-data-<#=week[i].value#>-<#=hour[m]#>" data-week="<#=week[i].value#>"
                            data-hour="<#=hour[m]#>">
                            <#=hour[m]#>
                        </td>
                        <#}#>
                </tr>
                <#}#>
        </table>
        <div style="padding-left:80px;" class="f-gray">
            <p><strong>示例一:</strong>&nbsp;&nbsp;当您选择了星期一的【12】点，则推广时间段为星期一的12：00-12：59</p>
            <p><strong>示例二:</strong>&nbsp;&nbsp;当您选择了星期六的【8、9、10、11】，则推广时间段为星期六的8：00-11：59</p>
        </div>
        <div id="advert-period-btns" class="advert-period-btns">
            <a id="advert-period-btns-confirm" class="c-btn5" href="javascript:void(0)">确定</a>&nbsp;&nbsp;
            <a id="advert-period-btns-cancel" class="c-btn7" href="javascript:void(0)">取消</a>
        </div>
    </div></script><script id="tpl-group-budget" type="text/template"><form id="group-budget-form">
        <input type="hidden" value="<#=gid#>" name="gid">
        <h3 class="complete-title">组出价</h3>
        <p style="padding:5px 0;" class="f-vam">
        <label>出价&nbsp;:&nbsp;</label><input type="text" value="<#=price#>" name="price" style="width:100px;" class="c-input">
        </p>
    </form></script><script id="tpl-pmp-budget" type="text/template"><form id="pmp-budget-form">
        <input type="hidden" value="<#=groupId#>" name="groupId">
        <input type="hidden" value="<#=adspaceId#>" name="adspaceId">
        <h3 class="complete-title">媒体出价</h3>
        <p style="padding:5px 0;" class="f-vam">
        <label>出价&nbsp;:&nbsp;</label><input type="text" value="<#=price#>" name="price" style="width:100px;" class="c-input">
        </p>
    </form></script> 
      <script id="tpl-budget" type="text/template"><div style="width:300px">
        <form id="budgetForm">
            <input type="hidden" value="<#=user_id#>" name="user_id">
            <input type="hidden" value="<#=plan_id#>" name="plan_id">
            <input type="hidden" value="exp_amt" name="aj_type">
            <h3 class="complete-title">预算</h3>
            <p style="padding:5px 0;" class="f-vam">
            <label><input type="radio" checked="checked" value="1" name="is_emt" class="f-vam">&nbsp;不限</label>
            </p>
            <p style="padding:5px 0;" class="f-vam">
            <label><input type="radio"  value="0" name="is_emt" class="f-vam">&nbsp;自定义&nbsp;:&nbsp;</label><input type="text" value="0" name="exp_amt" min="30" max="2000000" style="width:100px;" class="c-input">
            </p>
            <p style="padding-top:5px;">
            <a href="javascript:void(0)" class="c-btn4" id="submit">确认</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:void(0)" class="c-btn6" id="cancel">取消</a>
            </p>
        </form>
        <div id="lists" style="height:200px;margin-top:10px;overflow:scroll">
            <table class="c-table1" width="100%">
                <tr>
                    <th>下线时间</th>
                    <th>预算</th>
                </tr>
                <#for(var i = 0; i < data.length; i++){#>
                <tr>
                    <td><#=data[i].create_time#></td>
                    <td><#=data[i].quota#></td>
                </tr>
                <#}#>
            </table>
        </div>
    </div></script><script id="tpl-plan-budget" type="text/template"><div style="width:350px">
        <form id="budgetForm" class="c-form">
            <input type="hidden" value="<#=user_id#>" name="user_id">
            <input type="hidden" value="<#=plan_id#>" name="plan_id">
            <input type="hidden" value="exp_amt" name="aj_type">
            <h3 class="complete-title">预算</h3>
            <p style="padding:5px 0;" class="f-vam">
            <label><input type="radio" <#if (exp_amt == 0){#>checked="checked"<#}#> value="1" name="is_emt" class="f-vam">&nbsp;不限</label>
            </p>
            <p style="padding:5px 0;" class="f-vam">
            <label><input type="radio" <#if (exp_amt > 0){#>checked="checked"<#}#> value="0" name="is_emt" class="f-vam">&nbsp;自定义&nbsp;:&nbsp;</label><input type="text" <#if (exp_amt > 0){#>value="<#=exp_amt#>"<#}else{#>value=""<#}#> name="exp_amt" min="30" max="2000000" style="width:100px;" class="c-input number">
            </p>
            <p style="padding-top:5px;">
            <a href="javascript:void(0)" class="c-btn4" id="submit">确认</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:void(0)" class="c-btn6" id="cancel">取消</a>
            </p>
        </form>
        <div id="lists" style="height:200px;margin-top:10px;overflow:scroll">
            <table class="c-table1" width="100%">
                <tr>
                    <th>下线时间</th>
                    <th>预算</th>
                </tr>
                <#for(var i = 0; i < data.length; i++){#>
                <tr>
                    <td><#=data[i].create_time#></td>
                    <td><#=data[i].quota#></td>
                </tr>
                <#}#>
            </table>
        </div>
    </div></script><script id="tpl-group-convert-price" type="text/template"><form id="group-convert-price-form">
        <input type="hidden" value="<#=gid#>" name="gid">
        <h3 class="complete-title">组目标转化成本</h3>
        <p style="padding:5px 0;" class="f-vam">
            <label>目标转化成本&nbsp;:&nbsp;</label><input type="text" value="<#=price#>" name="convert_price" style="width:100px;" class="c-input">
        </p>
    </form></script><script>var nPlanId = '';
    var planBudget = '';
    var uid = '3219747540';</script>



    <div class="w-tab" style="margin-top:10px">
        <h2 class="u-tt">&nbsp;&nbsp;</h2>
        <div class="more"> <a class="f-green" href="/report/plan?day_check=self&amp;ceng_check=2&amp;start_date=2020-07-25&amp;end_date=2020-07-25">导出报表»</a></div>
        <ul>
          <li class="<?php if($type_id==63)echo 'z-crt';?>"><a href="index.php?m=plan&a=index&type_id=63">推广计划</a> </li>
          <li class="<?php if($type_id==64)echo 'z-crt';?>"><a href="index.php?m=group&a=index&type_id=64">推广组</a> </li>
          <li class="<?php if($type_id==65)echo 'z-crt';?>"><a href="index.php?m=originality&a=index&type_id=65">创意</a></li>
        </ul>
      </div>
    <div class="f-cb" style="margin-top:10px">
        <form id="form-search" action="" method="get">
          <input type="hidden" name="m" value="plan">
          <input type="hidden" name="a" value="index">
          <input type="hidden" name="type_id" value="63">
          <input type="hidden" name="data[md]" id="md" value="<?php echo $data['md'];?>">
          <input type="hidden" name="data[state]" id="state" value="<?php echo $data['state'];?>">
          <input type="hidden" name="data[xhfs]" id="xhfs" value="<?php echo $data['xhfs'];?>">
          <div style="padding-bottom:10px"> <span>&nbsp;&nbsp;广告模式:&nbsp;&nbsp;</span> 
          <?php $input= M('input')->where(array('input_pid'=>552))->select(); foreach($input as $k=>$v){?>
          <a href="index.php?m=plan&a=index&type_id=63&data[ggms]=<?php echo $v['input_value'];?>" class="change_ad_model js-report-type active<?php if($data['ggms']==$v['input_value'])echo ' on';?>"><?php echo $v['input_name'];?></a>&nbsp;&nbsp;
          <?php }?>
            <input type="hidden" name="ad_model" value="RTB">
            <br>
          </div>
          <div class="f-fl"> <span>&nbsp;&nbsp;推广目的:&nbsp;&nbsp;</span>
            <label id="ad-type" class="w-select" style="width:110px"> <i class="w-select-icon f-efonts">󰅰</i> <a href="javascript:void(0)" class="w-select-button md"><?php echo $data['md']==''?'全部':M('input')->where(array('input_pid'=>557,'input_value'=>$data['md']))->getfield('input_name');?></a>
              <input type="hidden" name="ad_type" value="-1">
              <span class="w-select-lists" style="overflow-y: auto; "> <a value="" onclick="getattrid($(this),'md')" href="javascript:void(0)">全部</a> 
              <?php $input= M('input')->where(array('input_pid'=>557))->select(); foreach($input as $k=>$v){?>
              <a href="javascript:void(0)" value="<?php echo $v['input_value'];?>" onclick="getattrid($(this),'md')"><?php echo $v['input_name'];?></a>
              <?php }?>
              
              
              </span></label>
            <span>&nbsp;&nbsp;投放状态:&nbsp;&nbsp;</span>
            <label id="plan-status" class="w-select" style="width:130px"> <i class="w-select-icon f-efonts">󰅰</i> <a href="javascript:void(0)" class="w-select-button state"><?php echo $data['state']==''?'全部':M('input')->where(array('input_pid'=>635,'input_value'=>$data['state']))->getfield('input_name');?></a>
              <input type="hidden" name="disabled" value="-1">
              <span class="w-select-lists" style="overflow-y: auto; "> <a value="" onclick="getattrid($(this),'state')" href="javascript:void(0)">全部</a> 
              <?php $input= M('input')->where(array('input_pid'=>635))->select(); foreach($input as $k=>$v){?>
              <a href="javascript:void(0)" value="<?php echo $v['input_value'];?>" onclick="getattrid($(this),'state')"><?php echo $v['input_name'];?></a>
              <?php }?>
              </span></label>
            <span>&nbsp;&nbsp;预算消耗方式:&nbsp;&nbsp;</span>
            <label id="consume-mode" class="w-select" style="width:60px"> <i class="w-select-icon f-efonts">󰅰</i> <a href="javascript:void(0)" class="w-select-button xhfs"><?php echo $data['xhfs']==''?'全部':M('input')->where(array('input_pid'=>566,'input_value'=>$data['xhfs']))->getfield('input_name');?></a>
              <input type="hidden" name="equalbudgetflag" value="-1">
              <span class="w-select-lists" style="overflow-y: auto; "> <a value="" href="javascript:void(0)">全部</a> <?php $input= M('input')->where(array('input_pid'=>566))->select(); foreach($input as $k=>$v){?>
              <a href="javascript:void(0)" value="<?php echo $v['input_value'];?>" onclick="getattrid($(this),'xhfs')"><?php echo $v['input_name'];?></a>
              <?php }?></span></label>
              
            <span>&nbsp;时间:&nbsp;</span>
            <label id="select-date" class="w-date f-fs12" style="width:400px;margin-top:0;">
              <input class="w-date-button w-date-hidden-start laydate-input" value="<?php echo $start_date;?>" name="start_date" type="text" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" style="float:left;">
              <span style="float:left;">&nbsp;至:&nbsp;</span><input class="w-date-button w-date-hidden-end laydate-input" value="<?php echo $end_date;?>" name="end_date" type="text" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" style="float:left;">
              </label>
              
              <div class="f-fl" style="border:1px solid #ececec;border-radius:5px;height:30px;position:relative;width:150px; float:right;"> 
<input class="f-fl" type="text" name="data[plan_name]" value="<?php echo $data['plan_name'];?>" style="background:none;border:none;height:24px;line-height:24px;margin-top:3px;padding:0 10px;width:80px"> <a id="btn-search" class="f-fr" style="background:#65C178;border-radius:0 5px 5px 0;border:1px solid #65C178;color:#fff;font-size:14px;height:30px;line-height:30px;position:absolute;right:-1px;text-align:center;top:-1px;width:50px" href="javascript:void(0)" onClick="searchs()">查询</a></div>

              
            <span class="property f-dn">&nbsp;&nbsp;操作系统:&nbsp;&nbsp;</span>
            <label id="system-type" class="w-select property" style="width:150px;display: none"> <i class="w-select-icon f-efonts">󰅰</i> <a href="javascript:void(0)" class="w-select-button">全部</a>
              <input type="hidden" name="os" value="">
              <span class="w-select-lists" style="overflow-y: auto; "> <a value="0" href="javascript:void(0)">全部</a> <a value="1" href="javascript:void(0)">Android</a> <a value="2" href="javascript:void(0)">iOS</a></span></label>
              		</div>
          
          <input type="hidden" name="_csrf" value="bTVXZjVUTjk1cBEwewM.YylvNQRHEidTWHZnIn0iC1gAYGUffg0BSQ==">
        </form>
      </div>
      
      
      
    <div class="f-cb" style="background:#F6F6F6;border-top:1px solid #EBEBEB;height:30px;line-height:30px;margin-top:10px;padding:10px">
        <div class="f-fl"> <a id="btn-open" href="javascript:void(0)"><i class="f-efonts f-blue f-fs14"></i>&nbsp;启用</a>&nbsp;&nbsp; <a id="btn-off" href="javascript:void(0)"><i class="f-efonts f-blue f-fs14"></i>&nbsp;暂停</a>&nbsp;&nbsp; <a id="btn-del" href="javascript:void(0)"><i class="f-efonts f-blue f-fwb"></i>&nbsp;删除</a>&nbsp;&nbsp; <a id="btn-copy" class="grey-imp" href="javascript:void(0)"><i class="f-efonts f-fwb js-cp-icon"></i>&nbsp;复制 <i class="f-efonts j-tips" data-tips="1、一次最多可复制一个推广计划，该计划下所属的推广组及未被审核拒绝的推广创意均会被复制；<br/>2、复制后生成的计划，状态默认暂停"></i></a>&nbsp;&nbsp;
          <!--
          <div class="batchTool" style="display:inline-block;">
            <input id="ad_plan_service" type="hidden" name="ad_plan_service" value="">
            <label class="w-select" style="width:150px" id="w-select">
            <i class="w-select-icon f-efonts">󰅰</i><a href="javascript:void(0)" class="w-select-button">批量修改</a>
            <input type="hidden" name="batchTool" value="">
            <span class="w-select-lists" style="overflow-y: auto; "><a value="0" href="javascript:void(0)" data-tpl="#tpl_bid" data-type="planbuget">修改预算</a><a id="btn-batch-time" value="1" href="javascript:void(0)" data-tpl="undefined" data-type="time">修改时段
            <div id="advert-period-bar" style="display: none;"><span id="advert-period-bar-tip">全部时段</span>&nbsp;&nbsp;<a id="advert-period-bar-btn" class="c-btn5" href="javascript:void(0)">更改</a></div>
            </a><a value="2" href="javascript:void(0)" data-tpl="#tpl_consumption_type" data-type="consumption">修改预算消耗方式</a></span>
            </label>
          </div>
          -->
          
        </div>
        <div class="f-fr">
          <div class="quickadd" style="display:inline-block;position:relative"> 
          <?php if($type_id==63){?>
          <a class="c-btn5" href="index.php?m=plan&a=add&type_id=<?php echo $type_id;?>" id="addPlan"><i class="f-efonts f-white"></i>&nbsp;添加计划</a>
          <?php } else if($type_id==64){?>
          <a class="c-btn5" href="index.php?m=group&a=add&type_id=<?php echo $type_id;?>" id="addPlan"><i class="f-efonts f-white"></i>&nbsp;添加推广组</a>
          <?php } else if($type_id==65){?>
          <a class="c-btn5" href="index.php?m=originality&a=add&type_id=<?php echo $type_id;?>" id="addPlan"><i class="f-efonts f-white"></i>&nbsp;添加创意</a>
          <?php }?>
          &nbsp;&nbsp;&nbsp;&nbsp;
            <div class="quick-hd" style="background-color:#FFF;border:1px #999 solid;color:#487EB8;cursor:pointer;display:none;font-weight:700;padding:0 5px;position:absolute;top:28px;transform:translateZ(0px);width:140px;z-index:1"><i class="f-efonts f-red f-fs14"></i> 快速搭建互动广告计划</div>
            <div class="quick-stod" style="background-color:#FFF;border:1px #999 solid;color:#487EB8;cursor:pointer;display:none;font-weight:700;padding:0 5px;position:absolute;top:58px;transform:translateZ(0px);width:140px;z-index:1"><i class="f-efonts f-red f-fs14"></i>快速导入搜索推广计划</div>
          </div>
          <div id="coustom_column_container" style="display:none;">
            <div style="position: relative">
              <div class="custom-column" style="display: none; width: 450px;">
                <div class="custom-column-title"><a class="custom-column-reset" href="javascript:;">默认</a>&nbsp;|<a class="custom-column-all" href="javascript:;">添加全部</a></div>
                <div class="custom-column-item column-l1"><span id="custom_column_tn_1_1" class="custom-column-line">
                  <label class="custom-column-line-lbl">
                    <input class="custom-column-chk" type="checkbox" name="1" value="">
                    属性</label>
                  </span>
                  <div class="custom-column-childs">
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_status" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="status" value="">
                        投放状态</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_ad_model" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="ad_model" value="">
                        广告模式</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_ad_type" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="ad_type" value="">
                        推广目的</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_os" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="os" value="">
                        操作系统</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_budget" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="budget" value="">
                        预算</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_equalbudgetflag" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="equalbudgetflag" value="">
                        预算消耗方式</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_delivery_time" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="delivery_time" value="">
                        投放时段</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_delivery_date" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="delivery_date" value="">
                        投放日期</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                  </div>
                </div>
                <div class="custom-column-item column-l1"><span id="custom_column_tn_1_2" class="custom-column-line">
                  <label class="custom-column-line-lbl">
                    <input class="custom-column-chk" type="checkbox" name="2" value="">
                    基本数据</label>
                  </span>
                  <div class="custom-column-childs">
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_views" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="views" value="">
                        展示次数</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_clicks" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="clicks" value="">
                        点击次数</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_click_percent" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="click_percent" value="">
                        点击率</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_thousand_views" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="thousand_views" value="">
                        千次展现成本</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_click_cost" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="click_cost" value="">
                        平均点击成本</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_total_cost" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="total_cost" value="">
                        总费用</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_bid_rate" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="bid_rate" value="">
                        竞价成功率</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                  </div>
                </div>
                <div class="custom-column-item column-l1"><span id="custom_column_tn_1_3" class="custom-column-line">
                  <label class="custom-column-line-lbl">
                    <input class="custom-column-chk" type="checkbox" name="3" value="">
                    应用下载转化数据</label>
                  </span>
                  <div class="custom-column-childs">
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_converts" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="converts" value="">
                        转化数</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_convert_rate" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="convert_rate" value="">
                        转化率</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_convert_cost" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="convert_cost" value="">
                        转化成本</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_ocpc_down_active" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="ocpc_down_active" value="">
                        激活数</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_active_rate" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="active_rate" value="">
                        激活率</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_active_cost" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="active_cost" value="">
                        激活成本</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_ocpc_down_reg" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="ocpc_down_reg" value="">
                        注册数</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_reg_rate" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="reg_rate" value="">
                        注册率</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_reg_cost" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="reg_cost" value="">
                        注册成本</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_ocpc_down_retention" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="ocpc_down_retention" value="">
                        次留数</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_retention_rate" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="retention_rate" value="">
                        次留率</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_retention_cost" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="retention_cost" value="">
                        次留成本</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_ocpc_down_pay" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="ocpc_down_pay" value="">
                        付费数</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_pay_rate" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="pay_rate" value="">
                        付费率</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_pay_cost" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="pay_cost" value="">
                        付费成本</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_ocpc_down_quality" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="ocpc_down_quality" value="">
                        质量度</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_quality_rate" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="quality_rate" value="">
                        质量度率</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_quality_cost" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="quality_cost" value="">
                        质量度成本</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                  </div>
                </div>
                <div class="custom-column-item column-l1"><span id="custom_column_tn_1_4" class="custom-column-line">
                  <label class="custom-column-line-lbl">
                    <input class="custom-column-chk" type="checkbox" name="4" value="">
                    落地页转化数据</label>
                  </span>
                  <div class="custom-column-childs">
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_call_num" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="call_num" value="">
                        电话拨打量</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_form_commit_num" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="form_commit_num" value="">
                        表单提交量</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_advice_num" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="advice_num" value="">
                        咨询量</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_clue_num" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="clue_num" value="">
                        线索量</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_clue_rate" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="clue_rate" value="">
                        线索率</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_clue_cost" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="clue_cost" value="">
                        线索成本</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                    <div class="custom-column-item column-l2"><span id="custom_column_tn_2_download_num" class="custom-column-line">
                      <label class="custom-column-line-lbl">
                        <input class="custom-column-chk" type="checkbox" name="download_num" value="">
                        网页下载量</label>
                      </span>
                      <div class="custom-column-childs"></div>
                    </div>
                  </div>
                </div>
                <div class="custom-column-btns"><a class="c-btn5 custom-column-confirm" href="javascript:;">确认</a><a class="c-btn7 custom-column-cancel" href="javascript:;">取消</a></div>
              </div>
              <div class="zdyl-box">自定义列<i class="f-fr f-efonts">󰅰</i></div>
            </div>
          </div>
        </div>
      </div>

<script type="text/javascript">
function getattrid(obj,name)
{
	//alert(name+","+obj.attr("value"));
	$("#"+name).val(obj.attr("value"));
	$(".w-select-button."+name).html(obj.html());
}
function searchs()
{
	$("#form-search").submit();
}
</script>
      
    